let time = null;
const fd = (callback) => {
    if (time) clearTimeout(time);
    time = setTimeout(() => {
        callback()
    }, 1000)
}
export default fd;